package com.wmwj.hxlj.entity.vo;

import lombok.Data;

import java.util.List;

@Data
public class CategoryResult<CategoryVo> {
    //父分类
    private List<CategoryVo> dataP;
    //子分类
    private List<CategoryVo> dataC;

    private int total;

    public CategoryResult(List<CategoryVo> dataP, List<CategoryVo> dataC) {
        this.dataP = dataP;
        this.dataC = dataC;
    }
}
